package com.ozo.boot.common.base.constant;

/**
 * 公告字段常量
 *
 * @author qiangesoft
 * @date 2024-07-11
 */
public class CommonFieldConstant {

    /**
     * 主键
     */
    public static final String ID = "id";

    /**
     * 创建者
     */
    public static final String CREATE_USER = "createUser";

    /**
     * 创建时间
     */
    public static final String CREATE_TIME = "createTime";

    /**
     * 更新者
     */
    public static final String UPDATE_USER = "updateUser";

    /**
     * 更新时间
     */
    public static final String UPDATE_TIME = "updateTime";

    /**
     * 逻辑删除
     */
    public static final String DEL_FLAG = "delFlag";

    /**
     * 乐观锁
     */
    public static final String VERSION = "version";

    /**
     * 基类字段
     */
    public static final String[] BASE_COLUMN = {ID, CREATE_USER, CREATE_TIME, UPDATE_USER, UPDATE_TIME};

    /**
     * 无需展示字段
     */
    public static final String[] NOT_DISPLAY_COLUMN = {ID, CREATE_USER, CREATE_TIME, UPDATE_USER, UPDATE_TIME, VERSION, DEL_FLAG};

}
